package com.etc.order.provider.mapper;

import com.etc.order.common.domain.SellerInfo;
import org.apache.ibatis.annotations.*;

@Mapper
public interface SellerInfoMapper {
    @Select("SELECT * FROM seller_info WHERE seller_id = #{uid}")
    @Results(id = "sellerInfoMap", value = {
            @Result(column = "seller_id", property = "sellerId"),
            @Result(column = "username", property = "username"),
            @Result(column = "password", property = "password")
    })
    SellerInfo getOne(@Param("uid") String uid);
}
